<html>
<head>
{include file='header.tpl' JS=$smarty.const.BAOGG_JS CSS=$smarty.const.BAOGG_CSS}        
        
        <script type="text/javascript"> 

	var  LANG={$LANG};
	{literal}
Ext.onReady(function(){
	Ext.QuickTips.init();
	
                
	{/literal}               
                var win_form=new Ext.Window({$form});
       var form = Ext.getCmp("ext_form");

	{$grid}
{literal}
		


	 Ext.create('Ext.container.Viewport', {
    layout: 'border',
    renderTo: Ext.getBody(),
                    items: grid				
                });
		win_form.show().center().hide();

});
</script>
{/literal}
 
</head>
<body>
  
       
<div id="form"></div>
<div id="grid"></div>


</body>
</html>